package com.jilujia.framework.web.json;

import java.util.List;

import org.springframework.validation.ObjectError;

public class LoginUserData extends JsonData {

	private Long userId;
	private String nickName;

	public LoginUserData(int error, List<ObjectError> messages, Long userId, String nickName) {
		super(error, messages);
		this.setUserId(userId);
		this.setNickName(nickName);
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

}
